package com.lagou.homeWork4.hw1;

public class StudentChange {
    public static void changeStudent(int id, String name, int age, Student student) throws AgeException, IdException {
        student.setId(id);
        student.setAge(age);
        student.setName(name);
        System.out.println("修改成功！");
    }
}
